package de.rj.urwalking.data;

import com.google.android.gms.maps.GoogleMap;

import android.support.v4.util.SparseArrayCompat;

public class Perspective {
	
	public static final int TYPE_MAP = GoogleMap.MAP_TYPE_NORMAL;
	public static final int TYPE_SATELLITE = GoogleMap.MAP_TYPE_HYBRID;
	public static final int TYPE_3D_STREET = 2;
	public static final int TYPE_3D_ABOVE = 3;

	private static SparseArrayCompat<String> names = initializeNames();

	public static String getName(int type) {
		return names.get(type);
	}

	private static SparseArrayCompat<String> initializeNames() {

		SparseArrayCompat<String> names = new SparseArrayCompat<String>();

		names.append(TYPE_SATELLITE, "Satellit");
		names.append(TYPE_MAP, "Karte");
		names.append(TYPE_3D_STREET, "3D Straßenansicht");
		names.append(TYPE_3D_ABOVE, "3D Vogelperspektive");

		return names;
	}

}
